Extended Mathematical Programming for Equilibrium Problems